package net.mikoo.seals.agent.model;

import java.math.BigDecimal;
import java.util.Date;

import net.mikoo.seals.agent.common.BaseModel;

public class UserLogin extends BaseModel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 8905112269018315809L;

	private String userLoginId;

	private Long partyId;

	private String currentPassword;

	private String passwordHint;

	private String isSystem = "N";

	private String enabled = "Y";

	private String hasLoggedOut;

	private String requirePasswordChange;

	private String lastLocale;

	private String lastTimeZone;
	
	private Date lastLoginTime;

	private String lastLoginIp;
	
	private Date currentLoginTime; 
	
	private String currentLoginIp;

	private Date disabledDateTime;

	private BigDecimal successiveFailedLogins;

	private String registerIp;

	private Date registerTime;

	private BigDecimal loginTimes;

	private Date createdTime = new Date();

	private Party party = new Party();

	private Person person = new Person();
	
	
	

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getUserLoginId() {
		return userLoginId;
	}

	public void setUserLoginId(String userLoginId) {
		this.userLoginId = userLoginId;
	}

	public Long getPartyId() {
		return partyId;
	}

	public void setPartyId(Long partyId) {
		this.partyId = partyId;
	}

	public String getCurrentPassword() {
		return currentPassword;
	}

	public void setCurrentPassword(String currentPassword) {
		this.currentPassword = currentPassword;
	}

	public String getPasswordHint() {
		return passwordHint;
	}

	public void setPasswordHint(String passwordHint) {
		this.passwordHint = passwordHint;
	}

	public String getIsSystem() {
		return isSystem;
	}

	public void setIsSystem(String isSystem) {
		this.isSystem = isSystem;
	}

	public String getEnabled() {
		return enabled;
	}

	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}

	public String getHasLoggedOut() {
		return hasLoggedOut;
	}

	public void setHasLoggedOut(String hasLoggedOut) {
		this.hasLoggedOut = hasLoggedOut;
	}

	public String getRequirePasswordChange() {
		return requirePasswordChange;
	}

	public void setRequirePasswordChange(String requirePasswordChange) {
		this.requirePasswordChange = requirePasswordChange;
	}

	public String getLastLocale() {
		return lastLocale;
	}

	public void setLastLocale(String lastLocale) {
		this.lastLocale = lastLocale;
	}

	public String getLastTimeZone() {
		return lastTimeZone;
	}

	public void setLastTimeZone(String lastTimeZone) {
		this.lastTimeZone = lastTimeZone;
	}

	public String getLastLoginIp() {
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public Date getDisabledDateTime() {
		return disabledDateTime;
	}

	public void setDisabledDateTime(Date disabledDateTime) {
		this.disabledDateTime = disabledDateTime;
	}

	public BigDecimal getSuccessiveFailedLogins() {
		return successiveFailedLogins;
	}

	public void setSuccessiveFailedLogins(BigDecimal successiveFailedLogins) {
		this.successiveFailedLogins = successiveFailedLogins;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Party getParty() {
		return party;
	}

	public void setParty(Party party) {
		this.party = party;
	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public String getRegisterIp() {
		return registerIp;
	}

	public void setRegisterIp(String registerIp) {
		this.registerIp = registerIp;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public BigDecimal getLoginTimes() {
		return loginTimes;
	}

	public void setLoginTimes(BigDecimal loginTimes) {
		this.loginTimes = loginTimes;
	}

	public Date getCurrentLoginTime() {
		return currentLoginTime;
	}

	public void setCurrentLoginTime(Date currentLoginTime) {
		this.currentLoginTime = currentLoginTime;
	}

	public String getCurrentLoginIp() {
		return currentLoginIp;
	}

	public void setCurrentLoginIp(String currentLoginIp) {
		this.currentLoginIp = currentLoginIp;
	}
	
	

}